import type { AppRouteModule } from '/@/router/types';
import { LAYOUT } from '/@/router/constant';
//设备查询
const gateway: AppRouteModule = {
  path: '/eqtquery',
  name: 'eqtquery',
  component: LAYOUT,
  redirect: '/eqtquery/logindex',
  meta: {
    orderNo: 50,
    icon: 'mdi:desktop-mac',
    title: '数据查询',
  },
  children: [
    {
      path: 'logindex',
      name: 'LogIndex',
      component: () => import('/@/views/logMng/index.vue'),
      meta: {
        ignoreKeepAlive: false,
        title: '设备数据',
      },
    },
    {
      path: 'logquery',
      name: 'logquery',
      component: () => import('/@/views/eqtquery/logquery/index.vue'),
      meta: {
        title: '离线日志',
      },
    },
  ],
};

export default gateway;
